package study.week05.gateway.router;

import java.util.List;

public class RandomCustomRouter implements CustomRouter {

    @Override
    public String route(List<String> urls) {
        int size = urls.size();
        return urls.get((int) (Math.random() * size));
    }

}
